GOPATH:=$(shell go env GOPATH)

.PHONY: tidy
tidy:
	@go mod tidy

.PHONY: build
build: tidy
	@CGO_ENABLED=0 go build -trimpath -ldflags "-s -w" -o ./bin/goinit ./*.go
